package com.sangeng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sangeng.domain.ResponseResult;
import com.sangeng.domain.dto.AddLinkDto;
import com.sangeng.domain.entity.Link;
import com.sangeng.domain.vo.LinkVo;
import com.sangeng.domain.vo.PageVo;

import java.util.List;


/**
 * 友链(Link)表服务接口
 *
 * @author makejava
 * @since 2022-08-16 10:33:31
 */
public interface LinkService extends IService<Link> {


    ResponseResult<PageVo> getLinkList(Integer pageNum, Integer pageSize, String name, String status);

    ResponseResult<String> addLink(AddLinkDto linkDto);

    ResponseResult<LinkVo> getLinkById(Long id);

    ResponseResult<String> updateLink(LinkVo link);

    ResponseResult<String> deleteLinkById(List<Long> idList);
}
